package com.chanzany.state.improve;

/**
 * @Author ChanZany
 * @Date 2021/10/20 16:31
 * @Version 1.0
 */
public class ConcreteState1 extends ShareState {
    @Override
    public void handle(ShareContext context) {
        System.out.println("当前状态为：状态1");
        context.setState(context.getState("2"));
    }
}
